package com.example.demo02.service;

import com.example.demo02.entity.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName TeacherService
 * @Description TODO
 * @Author tianqinglong
 * @Date 10:37 2022/7/27
 * @Version 1.0
 **/
public interface TeacherService {
    void deleteTeacher(Integer id);

    Teacher updateTeacher(Teacher teacher);

    List<Teacher> findAllTeacher();

    Teacher findTeacherById(Long id);

}
